import { Module } from '@nestjs/common';
import { ManagerController } from './controller/managerController';
import { ManagerServiceImpl } from './service/impl/managerServiceImpl';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ManagerEntity } from '@/entity/manager.entity';
import { MenuEntity } from '@/entity/menu.entity';
import { RoleEntity } from '@/entity/role.entity';
import { Role_fk_ManagerEntity } from '@/entity/fk_role_manager.entity';
import { Role_fk_MenuEntity } from '@/entity/fk_role_menu.entity';
import { RoleController } from './controller/roleController';
import { RoleServiceImpl } from './service/impl/roleServiceImpl';
@Module({
  imports: [
    TypeOrmModule.forFeature([
      ManagerEntity,
      RoleEntity,
      MenuEntity,
      Role_fk_ManagerEntity,
      Role_fk_MenuEntity,
    ]),
  ],
  controllers: [ManagerController, RoleController],
  providers: [ManagerServiceImpl, RoleServiceImpl],
})
export class AdminModule {}
